package com.bjsxt.chapter3_builder;

/**
 * @ClassName AirShip
 * @Description 宇宙飞船
 * @Author 黑马程序员
 * @Date 18:00 2024/6/20
 * @Version 1.0
 **/
public class AirShip {
    private OrbitalModule orbitalModule;

    private Engine engine;

    private EscapeTower escapeTower;

    public AirShip() {
    }

    public void launch(){
        System.out.println("发射!");
    }

    public OrbitalModule getOrbitalModule() {
        return orbitalModule;
    }

    public void setOrbitalModule(OrbitalModule orbitalModule) {
        this.orbitalModule = orbitalModule;
    }

    public Engine getEngine() {
        return engine;
    }

    public void setEngine(Engine engine) {
        this.engine = engine;
    }

    public EscapeTower getEscapeTower() {
        return escapeTower;
    }

    public void setEscapeTower(EscapeTower escapeTower) {
        this.escapeTower = escapeTower;
    }
}
